package com.wsdcd.zlg.model.service;

import com.wsdcd.zlg.model.entity.Customer;
import com.wsdcd.zlg.core.exception.ERPException;
import com.wsdcd.zlg.util.PageParameter;
import com.wsdcd.zlg.util.PagerUtil;

import java.util.List;

public interface CustomerService {

	List<Customer> select();

	PagerUtil<Customer> selectByPage(PageParameter pageParameter);

	void insert(Customer customer) throws ERPException;

	Customer selectByCustomerId(String customerId);

	void update(Customer customer) throws ERPException;

	void deleteAll(int[] customerId) throws ERPException;

}
